﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Labs
{
    class Program
    {
        static void Main(string[] args)
        {
            NameClass myName;
            myName = new NameClass();

            NameClass myName2;
            myName2 = new NameClass();
            myName.Firstname = "Chuck";
            myName.Lastname = "Mc";
            myName2.Firstname = "Chuck";
            myName2.Lastname = "Mc";

          
            

            if (myName2 == myName)
                Console.WriteLine("They are the same");

            Console.Write("Enter Firstname: ");
            myName.Firstname = Console.ReadLine();
            Console.Write("Enter Lastname: ");
            myName.Lastname = Console.ReadLine();
            Console.Write("Enter age: ");
           // int age = int.Parse(Console.ReadLine());
            Console.WriteLine("You would be {0} as a dog", 
                myName.CalculateDogYears(Console.ReadLine()));


            Console.WriteLine("Welcome " + myName.Fullname);

            Console.WriteLine(myName["full"]);

            myName.Showem("now", "is", "the", "time");
            myName.Showem();
            Console.ReadLine();

        }
    }
}
